package com.ask.forMe.model.message;

import com.ask.forMe.model.enums.BehaviorType;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Map;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UserBehaviorEvent  {
    private Long userId;
    private Long itemId;
    private BehaviorType type;  // 枚举类型：VIEW, CLICK, PURCHASE等
    private long timestamp;
    private Map<String, String> context;  // 存储设备、位置等上下文信息
}
